Can I transfer a multisite off a subdomain to the main domain?

So I have been building a multisite on a subdomain and I want to transfer the multisite now to the main domain.

Will that mess anything up? How should I go about it?

I'm going to be using the same hosting and should be able to point it to the same database.

So I was thinking I would just copy all the files to the root directory's folder in Cpanel.

Would that work?

thanks so much for your help you guys rock

Chris