1. A method of copying a document and its associated metadata, the method comprising: generating a document that includes pages; generating page metadata for each page of the document and document metadata for the document; modifying a first page in the document; updating the page metadata for the first page; and generating a hash of the modification that is included in the document metadata.