Transfer to UC Berkeley/UCLA/UCSD/UCSB from Community College as an International Student

Yeah, I figured. But what about for enrolling in CC? Will the courses that I have taken in high school matter? Also this may be a silly question, but what are the odds of being able to transfer to another university after the two years? I mean I will be able to get in SOMEWHERE at least right?