according to http://en.cppreference.com/w/cpp/string/byte/memcpy c++\'s memcpy takes three parameters: destination, source and size/bytes. it also returns a pointer
memcpy
By returning a value, an invocation of the memcpy function can be used as an r-value.