sim_meiosis.cpp: use std::copy instead of loop-based copying