copy type, control_in and control_out