I just had a technical interview ...

I had to rank from fastest to slowest ...

1)
Code:
for( int i =0;i<16;i++)
   array1[i] = array2[i];
2)
Code:
for(int i=0;i<16;i++)
    (int)array1[i] = (int)array2[i];
3)
Code:
memmove(dest,src,16);
4)
Code:
for(int i=0;i<16;i++)
  for(int j=0;j<16;j++)
      array1[i]=array2[j];

My answer : 3,1,2,4

Was it right ?