Instructions on how to relocate WordPress' directory from a sub-directory to the main directory or from the main directory to a sub-directory are on the internet in Wordpress' site. See the URL at
for additional information.
How to get the data from Joomia and into WordPress -- well, that is a totally different story!!!