How to compress an hexadecimal number into a short string?

pekabo:

for (byte x = 0 ; x < tagEPCBytes ; x++)

{
        tagEPCBytes[counter][x] = nano.msg[31 + x];
        Serial.print(nano.msg[31 + x]);
        Serial.print(F(" "));
      }

As you have not posted the complete program I can't tell how the variable counter is defined

...R