boolean (String copyPath, String thisEntryPath) { if (Url.isAncestor(thisEntryPath, myPath)) { final String relativePath = Url.getRelative(thisEntryPath, myPath); myPath = Url.append(copyPath, relativePath); return true; } return false; }