Small updates to files + example file on usage of getpath
path.php is to be used to make the copy function non-dependant being in the same folder as the source file, as is the case at the moment.