I thought my question is little different as both accounts are my own and I am only consolidating the accounts so that I can cancel one account.
The answer will however remain the same. It doesn’t matter whether you are transferring shares to your own Demat account or to another Demat account.