Sorry, I wrote my suggestion without seeing yours first. Seems that page doesn't always live-refresh. Yes, it's basically the same.
Why did you change memmove by memcpy? Just to know.