public function getTargetPath(string $templateFolder, string $targetFolder, string $currentPath): string {
    $trimPath = function($path) {
      return rtrim($path, DIRECTORY_SEPARATOR . ' ');
    };
    return str_replace($trimPath($templateFolder), $trimPath($targetFolder), $trimPath($currentPath));
  }