Transfer user accounts


I bought hosting from is hosting company in my country). It is a shared server.

I bought this hosting for mail accounts.
also, I bought the domain name.

on the server, there is the direct admin panel.

I want to transfer my mail accounts and the domain name from this hosting server to another server.

I need to know is there a way to transfer all account with passwords and domain name to another server.

thank you