copy the options