copy structure from the input files to the input planC