fix ARRAY_COPY macro
In commit "backend-drm: simplify compile time array copy", the macro ARRAY_COPY
was introduced. But with two mistakes:
- macro
STRING
was accidentally introduced in the same commit, and as it is completely unnecessary, remove it. -
memcpy
was copying fromsrc
todst
, and it should do the opposite. So fix it.
Also, in this MR we have a commit to make use of ARRAY_COPY
in other places besides the DRM-backend.