This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
while ((c = in.read() )!= -1) out.write(c); in.close(); out.close(); System.out.println("Renaming the XML FILE"); } I am copying files using this method. Input file is 10kb(356 lines) and output file is 8kb(309 lines). It's not copying the files completely. It is not copying last 50 lines. Does anyone have any idea regarding this. I will appreciate