splice(@array,$indexTo-($indexTo>$indexFrom),0,splice(@array,$indexFrom,1));