[libc] Improve memcpy copy loop

Rewriting loop so the terminating condition does not depend on the loop body

Differential Revision: https://reviews.llvm.org/D91976

GitOrigin-RevId: 699d17d4d64e9b1cf6db0443e87a700104e94aca
2 files changed