Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does it copy the file in batches, or does it stream the file through memory, reading and writing simultaneously?

share|improve this question
The same way it does for files smaller than available RAM. Processes don't normally concern themselves with the availability or size of physical memory. – David Schwartz Mar 1 '12 at 6:42

Reading and writing simultaneously usually means that a fixed size is read (let's say 1024kb) and then written immediately. It's useless to read and write 1b at a time.

Basically it streams the file, but in chunks.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .