Head's Up: JavaScript is either turned off or not working properly in your browser. Some parts of this page may not work properly.
use std::fs; fn main() -> std::io::Result<()> { fs::copy("foo.txt", "bar.txt")?; Ok(()) }
The builtin function that the contents of one file to another