Function cpp_to_rust_common::file_utils::copy_file [] [src]

pub fn copy_file<P: AsRef<Path>, P2: AsRef<Path>>(
    path1: P,
    path2: P2
) -> Result<()>

A wrapper over std::fs::copy with better error reporting