changed duplicate operator copy to explicitly test for ^desired