Removed duplcate headers in copy headers phase