Use the stream classes to copy a text file.
Read data from the standard input and echo it to the standard output and to a file called output.txt.
Use the java.io.StreamTokenizer class to read a text document word-by-word and display each word on a separate line.