Buying a car with out of state license plate?

Buying a car with out of state license plate? Im buying a used car off craigslist and it comes with an out of state license plate. I wanted to know the process of getting a (california) license plate. Will I get one automatically when I go to the DMV with …