It does not make sense to copy a slice element by element, then discard the source one. Let's do copy in place instead which is way more efficient. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Upstream-commit: d4c94e83ca58b5ffd99840a8e3cbf22f1ab331c0 Component: engine