Tidied up script to get livecopy site into a dev copy - and renamed it.
Adding the database prefix to the settings which get updated.
Altered unzip to match components from data dump.
Changed tar commands to make script re-runnable.