Trouble with Parallex GPS and Arduino Mega2560

So then would the code look simply like this if i was using a gps that was 4800 bps?

void setup()

{
  Serial1.begin(4800);
}
void loop(){
  Serial1.write(Serial1.read());
}