Not able to print the entire string

Get rid of this completely useless delay. It results in the serial input buffer being overrun.

To store a string, accumulate it in a zero-terminated character array (C-string). For the details, see the Serial Input Basics tutorial.