index copy from index2