kotlin.io.java.io.File.copyTo

copyTo

fun File.copyTo(
    target: File, 
    overwrite: Boolean = false, 
    bufferSize: Int = DEFAULT_BUFFER_SIZE
): File

Platform and version requirements: JVM

Copies this file to the given target file.

If some directories on a way to the 登录查看完整内容