Juniper Networks interview question

implementation of memcpy ()