Copy a file. If the destination exists and is a directory, an error is returned. Otherwise, it is replaced.
The path of the source file.
The path of the destination.
true on success, false if there was an error.
Copy a file. If the destination exists and is a directory, an error is returned. Otherwise, it is replaced.