install.py: rename copy_config to copyconfig
install.py: move copyconfig() call to the install() function
install.py: remove some blank lines