The disclosure is a NAND flash memory with the function of error checking
and correction during a page copy operation. The NAND flash memory is
able to prohibit transcription of erroneous bits to a duplicate page from
a source page. Embodiments of the inventive flash memory include a
correction circuit for correcting bit errors of source data stored in a
page buffer, a circuit configured to provide the source data to the
correction circuit and to provide correction data to the page buffer, and
a copy circuit configured to copy the source data to the page buffer, and
to store the correction data in the other page from the page buffer.