moving a site

I have built my drupal site using a sub domain ie www.drupal.mydomain.co.uk

i now need to move it to www.mydomain.co.uk

I assume i move all the files and folders using ftp from one domain to another, but i am unsure what i need to change so the install now nows it is in a different place and thus can locate the database.

Which scripts etc do i need to edit? ie install.php? install.txt?

Do i need to reset file permissions? is there a help file telling me what files/folders need to be for optimum security?

Thanks to anyone who replies

scratch that request... it is

scratch that request... it is a simple case of moving files and folders across domains....

 

but has anyone any info re file permissions as i would like to ensure i dont leave any files insecure