copy data between QLLRvec and int* by memcpy