renameFile

abstract fun renameFile(file: File, newFile: File)

Moves the in-memory content associated with file to newFile, e.g. after a "save as" operation.