Move the last element from the array into i. Reduce the array length by one.
index of element to remove
See Implementation
Move the last element from the array into i. Reduce the array length by one.