Update array.h

Resolved a bug with assignment operator overloading..