copyResourceAs

fun copyResourceAs(name: String, outputCreator: () -> OutputStream)