Added copying of cloned directories.