copy index to index-2