According to the TENANT'S RIGHT ACT, the new owners have to honor your rental or lease agreement:
If you have a LEASE and there is 10 month's left on it; they cannot evict you.
If you are on a month-to-month; you will have 30 days from their date of Notice.
GOOGLE; tenants rights act, and read it.
You may also be visited by a Realtor, offering moving money, in exchange for not trashing the place: You won't get the money until after to have moved, but there should be a contract.
Good luck and may God bless