New dynamic array implementation.