copyFile

fun copyFile(openFrom: () -> InputStream, outFile: File): Boolean