pub fn copy_file<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> Result<(), Error> {
    CopyOp::builder()
        .files([(Cow::Borrowed(from.as_ref()), Cow::Borrowed(to.as_ref()))])
        .build()
        .run()
}
Copies a file or directory at this path.

# Errors

Returns the underlying I/O errors that occurred.
fuc_engine/src/ops/copy.rs