copy document data