pub fn copy_file(src: &UnixStr, dest: &UnixStr) -> Result<File>
Copies the file at src, to the dest, overwriting anything at dest. Returns a handle to the new file.
src
dest
See File::copy
File::copy