create an ArrayIterator