byte serData[32]; // more than enough to hold 21 bytes
for (count=0; count<Serial.available(); count++)
{
serData[count]=Serial1.read();
}
Assuming that you fix the issues that tuxduino pointed out, suppose that there are 40 characters available to be read. You'll be trying to stuff them all in a 32 element array. Are they going to fit?
No, I don't want the hear "Oh, that will never happen". Because, it will. You'll copy and paste this code somewhere else, and it will happen.
You need, always, to make sure that the array index is valid BEFORE writing to an array.