copyFile

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

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

See also

FileUtils