added function to copy common fields from one doc to another