move index2 to index