Working with oneWire iButton and bytes

I have a possibly stupid question , but is this:

byte addr[8]; mean that addr is 8 bytes big? so if i did a memcmp or a memcpy it would be:

memcpy(storedaddr, addr, 8);? or is it something more like

memcpy(storedaddr, addr, sizeof(addr)); ?

(assuming storedaddr is also storedaddr[8]) ?

Yes, to the size question and both your memcpy calls. sizeof is better, in case you ever change the size of addr. Really though, you should #define 8 or declare a const so it only has to be changed in one place