cap_primitives::fs

Function copy

source
pub fn copy(
    from_start: &File,
    from_path: &Path,
    to_start: &File,
    to_path: &Path,
) -> Result<u64>
Expand description

Copies the contents of one file to another.