Use a byte array buffer,
- an InputStream,
- the available() method,
- and the System.out.println() method
to write a more efficient program that copies data from
System.in to
System.out.
Paste the source code of your program below and click the
Submit
button when you are ready to submit this exercise.