A method, apparatus and article of manufacture for copying information from
a first storage medium to a second storage medium. A first storage medium
of memory blocks is mapped into at least one data block and at least one
directory block. Two passes of the first storage medium are then
performed. In the first pass, each data block is copied from the first
storage medium to the second storage medium. If a read error occurs while
copying a data block, a location of the data block and a data file stored
in the data block are identified to provide future error handling
capability. In the second pass, each directory block is copied from the
first storage medium to the second storage medium.