Location (URL)
https://doc.rust-lang.org/std/fs/fn.copy.html
Summary
In std::fs::copy() documentation is no mention of sendfile(2) or splice(2) . In std::io:copy has mention of those, and fs::copy() uses io::copy().
Entry from io::copy():
Platform-specific behavior
On Linux (including Android), this function uses copy_file_range(2), sendfile(2) or splice(2) syscalls to move data directly between file descriptors if possible.
Entry in fs::copy():
On Linux (including Android), this function attempts to use copy_file_range(2), and falls back to reading and writing if that is not possible.
Location (URL)
https://doc.rust-lang.org/std/fs/fn.copy.html
Summary
In std::fs::copy() documentation is no mention of sendfile(2) or splice(2) . In std::io:copy has mention of those, and fs::copy() uses io::copy().
Entry from io::copy():
Entry in fs::copy():