Hi hb2.
Tony is correct. There are so many possibilities that it would be difficult to write a general routine, unless your source documents are essentially similar. In that case, you would not be writing a general routine, you would be writing a specific routine.
Tony also pointed out the crux - what is your objective?
RE: headers and footers. This all depends on what you have as a header/footer structure in your original document.
If your original document has only one header (or footer) across the whole document, then it is fairly straightforward. However, if you have different headers (or footers) - say Different first page, or Different Odd/Even then it gets more complicated. AND, if you have different sections (as in Word Section, that is a Section break is present), then it gets complicated even more.
If you just have the one header (or footer) you can access it directly, copy it, and recreate it for your new documents.
If you have multiple headers (or footers), then you have to determine which one applies for the current page that is being extracted into a new document. Plus you need to make a design decision. Say you have Different first page. The current page is page three. Do you have a Different first page header in the new document, or the existing header for page 3?
Gerry