kotlin.io.java.io.File.copyRecursively

copyRecursively

fun File.copyRecursively(
    target: File, 
    overwrite: Boolean = false, 
    onError: (File, IOException) -> OnErrorAction = { file, exception -> throw exception }
): Boolean

Platform and version requirements: JVM

Copies this file with all its children to the specified destination t