copy_start
size_t len_first = base + mmap_size - copy_start;
memcpy(*copy_mem, copy_start, len_first);