copyFile function
Copy a file.
Implementation
Future<File> copyFile(File src, File dst, {CopyOptions? options}) async {
return fs_io.unwrapIoFile(
await fs.copyFile(
fs_io.wrapIoFile(src),
fs_io.wrapIoFile(dst),
options: options,
),
);
}