copy standard input to standard output, using standard I/O