Porting memcpy and function pointers.