Finished copy function - probably broken as implemented
added create_directory and space tests