What exactly is your problem? Is it trying to take the 64 bit sensor ID and break it up int an array of bytes? That seems to be what you are showing in your code snippet.
What library are you using? I'm not familiar with that radio module, but the first library I found for it already takes a 64 bit number, not a byte array to specify a pipe ID: maybe using a different library will make it easier?
What have you done or tried so far?
If you just ant to break up the 64 bit number to a byte array, the simplest is a loop that masks off a byte at a time using a bitwise AND operation, and then shifts the value by 8 bits during each loop.
This doesn't seem to be an issue specific to the Yun, it seems like a programming question. You might get more responses in the Programming Questions forum.