code: function createDestination(destination) {
      const folders = destination.split(separator);
      const pathParts = [];
      const l = folders.length;
  
      // for absolute paths
      if (folders[0] === '') {
          pathParts.push(separator);
          folders.shift();
      }
  
      for (let i = 0; i < l; i++) {
          pathParts.push(folders[i]);
  
          if (folders[i] !== '' && !doesPathExist(pathParts.join(separator))) {
              try {
                  fs.mkdirSync(pathParts.join(separator));
              } catch (error) {
                  throw new PluginError('gulp-copy', `Could not create destination <${destination}>: ${error.message}`);
              }
          }
      }
  }
docs: Recursively creates the path
  @param {string} destination