MMh, you want to read Serial and get its values into an array... it seems so to me.
So you have to declare an array, and then simply put the values into it.
ahm, seems that you want to get rid of " "....
First Step I think...
char myvalues[count of Values]; // Declare a Array with X cells.
int counter=0; // Declare a counter which holds ints
Serial.beginn(19200); //Serial.open with 19200 Speed.
myvalues[counter]=Serial.read(); //Read a Value and put it into the Array.
counter++; // Increase Counter to get to the next Arraycell.
delay(50); // This slows down, to avoid a bufferoverrun.
Thats maybe buggy (not tested),
AND it's NOT the best way....
but with this in scheme you should get
the serial incomming Values into a onedimensional Array.
Hope, this is a startingpoint for you.