#include #include using namespace std; int main() { const int source[] = {10, 20, 30}; const size_t n = sizeof source / sizeof source[0]; const int dest[] = {40, 50, 60}; copy(source, source + n, dest); //won't compile return EXIT_SUCCESS; }