Serial - Is possible to put a received data in an array of char ?

          incomingArray[x] = Serial.read();
            if (incomingArray[x] == '\0')

If the sender is sending ASCII data, incomingArray[ x ] will NEVER be NULL. The NULL is a trigger to the sender to stop sending. The NULL is not sent.