pub fn copy_file(from: &Path, to: &Path, overwrite: bool) -> Result<()>Expand description
Copies one original, keeping its modification time, as Eagle does. The copy is written beside its destination and renamed into place, so a failed copy never leaves half a file under the real name.