to follow or endeavor to follow as a model or example: to imitate an author's style; to imitate an older brother. to mimic; impersonate: The students imitated the teacher behind her back. to make a copy of; reproduce closely. to have or assume the appearance of; simulate; resemble.
The input device might be a keyboard, the output device might be a monitor, a communication device might be a modem, a secondary storage device might be disk drive, and the processing devices include central processing unit (CPU) and main memory.
Java provides a standard way of reading from and writing to files. Traditionally the java.io package was used, but in modern Java applications you use the java.nio.file API. Java will read all input as a stream of bytes. The InputStream class is the superclass of all classes representing an input stream of bytes.