pub fn copy_dir_all(src: &Path, dst: &Path) -> Result<()>
Recursively copies a directory tree from src to dst.
src
dst
Returns an error if any directory cannot be created or any file cannot be copied.