1. Move all your files that are in your FTP (this is generally the "public_html" folder) to the new directory.

2. Export your database in ".sql" format via phpMyAdmin. Create a database on your new server and import this .sql file to your new database.

3. Open "app/Config/Database.php" file and enter your new database credentials.
'username' => ' ',
'password' => ' ',
'database' => ' ',