Add equals and copy ctor for Array in C++