Added attachments handling to the implementation of document copy, so that attachments are properly copied from a document to the other. Implementation is sort of similar to the implementation in the DOcumentImportHandler in EM.