code: function copyReadmeFiles() {
  
      const resolvedSrcReadmePaths = path.resolve(rootDir, srcReadmePaths);
  
      dryRun ? console.log(`In ${destDir}, this script would...`) : console.log(`In ${destDir}...`);
  
      fs.readdir('packages', (err, files) => {
          totalDocsCount = files.length;
      });
  
      createDirectory(destDir);
      glob(resolvedSrcReadmePaths, {realpath:true}, function(error, srcFiles) {
          
          srcFiles.forEach((srcReadmePath) => {    
              createDestReadme(srcReadmePath);
              const srcDirPath = path.dirname(srcReadmePath);
              const lastSrcDir = srcDirPath.split(path.sep).pop();
              sidebarEntries.push(`en/packages/${lastSrcDir}/index`);
          });
  
          console.log(chalk.green(`${updatedDocsCount} of ${totalDocsCount} package readme.md files updated`));
          updateSidebar();
         
      });
  
  }
docs: Function to copy readme files to the ./docs/en/packages folder
  and update Docusaurus sidebar, ./website/sidebars.json