make the PYDate copyable