[BUGFIX] fix windows file paths in copydirectory