Added header option to copy-merge.