Basta togliere il while.
codice:
       int v1(0);
	copiafile >> v1