String or Char Arrays Length Definition

PaulS:

EUREKA!!!

Keep in mind that you need to provide a large enough array to hold what the user typed, and that that may be more than 8 bytes.

jajaja I found out about this already the hard way, with this code if I enter 123456789 I receive back two lines, 1st: 12345678 and 2nd: 92345678 so it overwrites the array.

char Name[9]; // My Data array

void setup() {
 Serial.begin(9600);
 while (!Serial) {
   ; // wait for serial port to connect. Needed for Leonardo only
 }
 Serial.println("Please Enter your Name: ");
}
 
void loop() {
 while (!Serial.available()); // Wait for characters
 Serial.readBytes(Name, 8);
 Serial.println(Name);
 }

Is there a way to avoid overwriting? ... not sure if I should go back to the other suggestions.