code: function cpTypes(typeAsset) {
    const {dir, base} = path.parse(typeAsset);
    let destDir = dir.split('build/types/')[1];
    destDir = destDir.split('/');
    destDir.splice(2, 0, 'dist');
    destDir = `${destDir.join('/')}/${base}`;
    addTsIgnore(typeAsset);
    return cpFile(typeAsset, destDir)
      .then(() => console.log(`cp ${typeAsset} -> ${destDir}`));
  }
docs: takes assetPath, computes the destination file directory path and copies file into destination directory