protected function moveTargetNodeDataToNewPosition(NodeData $targetNodeData, $destinationPath)
    {
        if ($targetNodeData->getWorkspace()->getBaseWorkspace() === null) {
            $targetNodeData->setPath($destinationPath);
            return $targetNodeData;
        }

        return $targetNodeData->move($destinationPath, $targetNodeData->getWorkspace());
    }