Objective
Implement a function that copies exactly n bytes from a source buffer to a destination buffer and returns the destination pointer.
Steps
$ memcpy(dst, "git push", 9)
git push
$ memcpy(dst, "rebase --hard", 4); dst[4] = '\0';
reba
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 exactly n bytes from a source buffer to a destination buffer and returns the destination pointer.
Steps
$ memcpy(dst, "git push", 9)
git push
$ memcpy(dst, "rebase --hard", 4); dst[4] = '\0';
reba
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