Before this patch, cp -R src/ dst is equivalent to cp -R src/. dst. This patch make it so cp -R src/ dst is now equivalent to cp -R src dst.
Because other implementations have opted for the proposed behaviour, and shells (e.g. bash) may autocomplete directories with a trailing slash, the current implementation may cause both scripting portability issues and interactive misuse.
In all the src/ tree only two instances of cp -R needed to be adapted.