Updated to be cleaner code (WIP)

Updated code for memcpy, however it is throwing issues when going from
u8 to u32 and vice versa. Need to find a cleaner solution.