**Description** Manage an array state with utility functions for common operations. **Acceptance Criteria** - [ ] Accepts an initial array as a parameter - [ ] Returns the current array state - [ ] Provides methods to: - [ ] Add a new item - [ ] Remove an item by index - [ ] Clear the array - [ ] Replace the entire array - [ ] Ensures immutability of the original array
Description
Manage an array state with utility functions for common operations.
Acceptance Criteria