[ Version ( since = "1.13.25" ) ]
public bool copy_file_to_file (string src, string dest, CopyFileToFile? optargs) throws Error
copy from source file to destination file
See copy_device_to_device for a general overview of this call.
This is not the function you want for copying files. This is for copying blocks within existing files. See cp, cp_a and mv for general file copying and moving functions.
this |
A GuestfsSession object |
optargs |
a GuestfsCopyFileToFile containing optional arguments |
true on success, false on error |