copyTo

suspend fun Entry.copyTo(parent: DirectoryEntry, newName: String? = null): <Error class: unknown class><Entry>

Copy given file or directory to a new location.

Parameters

parent

new location parent directory entry

newName

new location name