function copyTo
source · line 41public
public fun Path.copyTo(destination: Path, replaceExisting: Boolean = false): Long
Extension receiver: Path
Copies input to a destination and returns actual bytes transferred. Byte-source copies borrow both endpoints; path copies own their temporary handles and honor replaceExisting.
parameter replaceExisting
source · line 41public
replaceExisting: Boolean = false
parameter destination
source · line 41public
destination: Path
parameter receiver
source · line 41public
Path