Objective
Implement a function that copies n bytes from src to dst and returns dst, producing the correct result even when the two regions overlap.
Steps
$ memmove(buf, "git rebase", 11)
git rebase.
$ memmove(buf + 2, buf, 5) // buf = "0123456789"
0101234789
Expected files
Allowed functions
None. Write every helper yourself.
Allowed headers
Standard C library
Implements the contract of a function from the standard C library.

Objective
Implement a function that copies n bytes from src to dst and returns dst, producing the correct result even when the two regions overlap.
Steps
$ memmove(buf, "git rebase", 11)
git rebase.
$ memmove(buf + 2, buf, 5) // buf = "0123456789"
0101234789
Expected files
Allowed functions
None. Write every helper yourself.
Allowed headers
Standard C library
Implements the contract of a function from the standard C library.

Tests
Run the tests to grade your code