Mock array implementation