Makes sure to copy the headers over