QUESTION QUICKLY: how save an array to another array

memcpy() copy all the bytes

I do not want to copy all bytes only the bytes that interest me from the array.

get the value of x,y,z position of array 1 and copy it into array 2 in the position a,b,c