fixed license file copying script

now Pathes are determined automatically
repository path can also be given as argument
script also checks if Pathes are correct, outputs error and exits if checks fail

also adjusted variable names to conventions in bash scripting (write variable names in capital letters)
(basically i completely rewrote the script)

the script is tested only by myself, it would probably be better if someone else would test it too just to be sure.