Patent ID: 7877561

Claim:
A method of copying data from a first memory device to a second memory device with a computer system during a program run-time, said method comprising: establishing a plurality of segments within said first memory device; establishing within said second memory device an equal number of segments as in said first memory device; establishing a data structure defining a sequential segment order for said plurality of segments within said first memory device; copying data within said segments of said first memory device to corresponding segments of said second memory device according to said sequential segment order by referencing to said data structure prior to said data have been modified; thereafter, in response to a need to modify data in a particular segment out-of-sequence from said sequential segment order prior to arriving to said particular segment, copying data from said particular segment to a corresponding segment within said second memory device; determining a next segment within said segments of said first memory device for copying in accordance with said sequential segment order; resuming copying of data within said segments of said first memory device to corresponding segments of said second memory device according to said sequential segment order beginning with said next segment until said particular segment is reached; skipping said particular segment upon reaching said particular segment in said sequential segment order after said data in said particular segment is copied to said corresponding segment within said second memory device; and resuming copying data within said segment of said first memory device in accordance with said sequential segment order at a segment following said particular segment after skipping said particular segment.