move array get and set to ArrayImpl