Now handles html copy correctely (ie mv directory to ..)
Fixed path probs with html