LUA_COPY rewritten in C

6 jobs for posix-cp in 2 minutes and 24 seconds (queued for 3 seconds)