if (!_indexCopier.copy(src, dest.getAbsolutePath())) return false;
File directoryFile = new File(dest, DirectoryManager.INDEX_DIRECTORY);
if (!directoryFile.exists()) {
log.warn("index directory file not exists, creating a empty one.");
IndexSignature sig = new IndexSignature(null);
try {
DefaultDirectoryManager.saveSignature(sig, directoryFile);
} catch (IOException e) {
log.error(e.getMessage(), e);
return false;