posted 23 years ago
This may work:
Create a File object that points to the file you want to copy, and another File object that points to the file you want to copy to. Create a FileInputStream for the file to be copied, and a FileOutputStream for the file to be copied to. Then you can read() bytes from one and write() bytes to the other.
There's nothing more dangerous than a resourceful idiot. ---Dilbert