Shifting Your Account to a New Apple ID Without Losing Data

I want to change my email and password in my existing account, now my account is linked to my Apple ID, but I want to link it to a new Apple ID, but I want to keep my existing subscription and history of all chats and requests, how can I do this?