Transfer data array to arduino mega 1 to arduino mega 2, using xbee

"I made a mistake, I was putting the wrong command MFRC522Debug::PICC_DumpToSerial(mfrc522, Serial3, &(mfrc522.uid)); // send to Arduino 2 , so it's working now. But I can't find a way for the data to show in both serial communications without losing data." , i tried using millis, but still losing data one way o another.