How to remove a object from array and push to new array

javascript remove object from array
remove first element from array javascript
array splice
delete element from array
typescript remove item from array
jquery remove item from array by index
jquery remove from array
delete array