copyTo

inline fun Path.copyTo(outputStream: OutputStream): Long(source)

Delegates to Files.copy with overload for OutputStream.


inline fun Path.copyTo(target: Path, vararg copyOptions: CopyOption): Path(source)

Delegates to Files.copy.