Just to describe more on the problem. I am reading two word documents by the object FileStream and creating a new file by inserting all bytes into it. The problem is it displays the contents of first file and not of second. I think some problem may be with headers or footers defined in the file internally by Microsoft. I tried with gif image also and faced the same problem, although it is working correctly for text format files.
I tried Google a lot but not able to find any article on this. Hope to get some help from this forum. Please let me know if need more information. I am sure some one must have done this type of functionality.