boolean targetIsRelPath = (target instanceof OlatRelPathImpl);
for (VFSItem vfsSource:sources) {
if (targetIsRelPath && (vfsSource instanceof OlatRelPathImpl)) {
// copy the metainfo first
MetaInfo meta = MetaInfoFactory.createMetaInfoFor((OlatRelPathImpl)vfsSource);
meta.moveCopyToDir((OlatRelPathImpl)target, move);
}
VFSItem targetFile = target.resolve(vfsSource.getName());
if(vfsSource instanceof VFSLeaf && targetFile != null && targetFile instanceof Versionable
&& ((Versionable)targetFile).getVersions().isVersioned()) {