Fixed copy constructor for new DY