Write a program which sets up two arrays inside main. The arrays should be the same size. One array must be initialised to some arbitrary values. The other array does not need to be initialised. Pass pointers to the arrays to a function called copystuff() which will copy the elements of the first array into the second array. The function need not return a value, unless you want it to. Main() must then print out the two arrays.

#include <stdio.h>
int copy_stuff (int [ ], int [ ]);
void main (void)
{
int a[5]={1,2,3,4,5},b[5];
copy_stuff(a,b);
printf("%d",b);
}
int copy_stuff (int x[], int y[])
{
int *pointer;
pointer = &x;
y = *pointer;
return y;
}