add wildcard support to COPY/ADD (part 2 of issue #6820) Upstream-commit: 1cd6135972bda50f913315910baba1b17d097338 Component: engine