Recursively copy headers