Copies a file.
Note that attributes and time stamps are currently not retained.
|from||Path of the source file|
|to||Path for the destination file|
|overwrite||If true, any file existing at the destination path will be overwritten. If this is false, an exception will be thrown should a file already exist at the destination path.|
An Exception if the copy operation fails for some reason.