add(index, object)

to implement this method, I need to expand CopyAndResize method - it now
includes a ReturnObjectImpl as a parameter which will be inserted at the
specified index ;the method returns the array.