I'm at GRU now on my way back to the US after a visit to Brazil. Although the terminals have different numbers, as far as I can tell they are all attached. I passed both TAM and UAL as i wandered around on my way from GOL to AA. I've heard horror stories about this airport but I found everything easy and quick. Maybe I was just lucky.