net.corda.core / java.io.InputStream / copyTo

copyTo

fun InputStream.copyTo(target: Path, vararg options: CopyOption): Long