Wait, isn't that the old way? Yes, but Adobe added a crucial feature in recent updates called logic in specific workflows. However, the most reliable native method remains:
You can manually duplicate a comp tree without any scripts: true comp duplicator after effects download free
Once you've downloaded the plugin, follow these steps to install it: Wait, isn't that the old way