I am trying to read a poor text file and write it back into another file, by using the FileInputStream/FileOutputStream classes.
But when i am trying to write its contents to the other file, it seems to do nothing.
Any help on what is wrong in the following code snippet ?
String InString = InStream.readEntireStreamAsString();
int br = OutStream.writeFromInputStream(InStream, InStream.getTotalLength()); //this proccess seems to do nothing
Thanks in advance