main copy over