Since you asked for a C++ solution...
#include <algorithm>
#include <iterator>
const int arr_size = 10;
some_type src[arr_size];
// ...
some_type dest[arr_size];
std::copy(std::begin(src), std::end(src), std::begin(dest));
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…