Add utility method for moving array items.