I am having some trouble performing this. I am not sure, if my unsigned char arrays are null terminated, but I don't think so. Here is my code:
They are supposed to be byte arrays of size 16.
Thank you, but I am using unsigned char arrays. I don't think strcpy works for unsigned char, does it?
I could cast it, but I would lose precision. My values are all positive.
So, there is really no way to copy directly one unsigned char array to another easily?
They are the same data type.
I guess I will enclose them in a loop and pass each char one by one.
Also, why is that memcpy is not working in my first post?
without knowing the details of this, I do think that memcpy should work! I don't see why not, I have used it in the past and can't remember any issues I had with it