Swap an array item to a different position. Returns a new array with the item swapped to the new position.
Swap an array item to a different position. Returns a new array with the item swapped to the new position.