Replace unsafe C functions Proposal

std::copy should suffice I imagine.