Navaleye is quite correct. Under TUPE you would be offered the chance to transfer if your job, under your new employer, existed in substantially the same form. If you chose not to accept you are assumed to have opted to leave. You would retain your pension rights to date but would be entitled only to working your notice.