copy file phase for headers added