you will probably want to make additional helper functions to make this one easier. * here is a suggested strategy for copying the internal array: * 1. deallocate the current array for 'this' (if it is already allocated) * 2. allocate a new array for 'this' of the appropriate size