Write a for loop that copies array a over array b. Write code to print array b in c++. code example
Example: copy array of integers in c
int * intdup(int const * src, size_t len)
{
int * p = malloc(len * sizeof(int));
memcpy(p, src, len * sizeof(int));
return p;
}