Function copy_file

Source
pub fn copy_file(src: &UnixStr, dest: &UnixStr) -> Result<File>
Expand description

Copies the file at src, to the dest, overwriting anything at dest. Returns a handle to the new file.

ยงErrors

See File::copy