ProAnswers.org

How to read 50 MB file from stdin and write to a another file?

ready byte wise and write to a file but this will take very long time. you can read file in chunk and then dump to a file.