copy structure from engine generator