You can effectively copy all by importing an .mq5 file as a new project, otherwise there is no way.

Related: https://fxdreema.com/forum/topic/15542/feature-request-constants-import-export-to-csv