Copies a file from source to destination.
Example:
var src = new Path ("/tmp/source.txt");
var dst = new Path ("/tmp/dest.txt");
bool ok = Files.copy (src, dst);
| src |
source file path. |
| dst |
destination file path. |
|
true if copy succeeded, false otherwise. |