pub async fn copy(from: impl AsRef<Path>, to: impl AsRef<Path>) -> Result<u64>
Copy the contents of one file to another.
Creates the destination file if it doesn’t exist, truncates it if it does.