Fixed bugs in array (added explicit copy assignment operator).