pushArray() helper