Adding an internal memcp like function that tries to be side channel silent.