Copy the content and permissions of a file to a new entry in the
filesystem. If a file already exists at the new location, it will be
replaced. Copying a file is not atomic.
This computation throws
IOError on failure. See “Classifying
I/O errors” in the
System.IO.Error documentation for
information on why the failure occured.
Since: 0.1.1