Im not in a position to produce the section reference right now but the regulation discussed in the comments, 45 CFR, requires providers are able to transfer medical records from the old practice to the new practice.
And as the parent comment said, you have to involve the state and it takes 6 months.