Fixed url-server&path to return proper path.
Fixed copy-directory to handle the top file (it tried to create a directory no matter what).