save the basis, data [i]

copy(&saverecord,&data[i]);