Skip to main content

cp

Function cp 

Source
pub fn cp(src: &str, dest: &str) -> Result<()>
Expand description

Copies a single file from src to dest.

Behavior on an open file is undefined at the OSAL level. Ensure the file is closed first.