Create an executable file that copies stdin to stdout, or else a script that does so through the invocation of an interpreter at the command line.

fun main() {
    var c: Int
    do {
        c = System.`in`.read()
        System.out.write(c)
    } while (c >= 0)
}