This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Code does not work
Posted by Jonathan Hager on April 24, 2001 at 6:46 PM
Just wanted to let you know that this code is broken for binary files. The FileReader and FileWriter are meant for text files. Use the FileInputStream to copy instead (example code at http://www.codeguru.com/java/articles/463.shtml)