copyAsFile

fun <ERROR CLASS>.copyAsFile(): File
fun <ERROR CLASS>.copyAsFile(destination: File): File