Skip to main content

copy

Function copy 

Source
pub async fn copy(from: impl AsRef<Path>, to: impl AsRef<Path>) -> Result<u64>
Expand description

Copies the file from to to, with its permissions; answers the bytes copied.