If I were you, I'd go to Stanford ( although I was rejected by Stanford :-( )
It is true that Berkeley is fantastic in CS PhD program. However, for people who are doing real CS research, they cares more about what work you have done rather than from which program you graduated. But for people who do not know CS research, they judge you simply on the school name (I bet you have to get along with a lot of such people in your career). I think Berkeley is highly respected in the west coast, but Stanford is respected all over the world. You can achieve success anywhere with a Stanford degree. So if both school have attractive professors, then go to Stanford!