Copy bytes to buffer from buffer: how to use memmove
#include <stdio.h> #include <string.h> int main () { char str[] = "This is a line....."; memmove (str + 20, str + 15,11); puts (str); return 0; }