add copy constructor to Arr class