Update array1.h

fixes error "memcpy is not a member of std"