copyFile

open fun copyFile(source: File, destination: File)

If the destination file exists, then this method will overwrite it.

See also

FileUtils