Your question is confusing, to me. Are you changing Document A, Document B, or both?
Look into Styles. They are Word's method of conveying formatting. Copy the Header and Footer styles to copy formatting. Use the
Organizer.
The Importance of Styles in Microsoft Word