pub fn rawcopy(file_path: &str, save_path: &str) -> Result<()>
Expand description
copy file from file_path
to save_path
params:
file_path
is the absolute path of the file must exist.
`save_path` is the directory where the copied file will be saved. The directory must exist, and the file must not exist. The file name will be the same as the name of the file being copied. If it points to an NTFS filesystem image, then a suffix will be appended.