Buying a Car before Move

I’m being relocated to California for work, currently live in Oregon. Would it be best to buy a car here or in California? The whole process is confusing me. My move is around January. If anyone has any insight let me know. Thanks!