added ability to copy getters or setters too