FileSystem.copyFile
bool copyFile(string src, string dest)Copy a file. If the destination exists and is a directory, an error is returned. Otherwise, it is replaced.
Parameters
src | The path of the source file. |
dest | The path of the destination. |
Returns
true on success, false if there was an error.
Throws
[ErrorWrap]