copy templates to dist