error: expected primary-expression before '[' token

Serial.readBytes( byte[], 50 );

Nonsense. You can't allocate an array on the fly like this.