__fs.gdn::copy_file()
Copy the file from src to dest.
src
dest
If dest already exists, its content is replaced with the content from src.
import "__fs.gdn" as fs fs::copy_file(Path{ p: "/tmp/source.txt" }, Path{ p: "/tmp/destination.txt" })
public fun copy_file(src: Path, dest: Path): Result<Unit, String> { __BUILT_IN_IMPLEMENTATION }