Add flag to disable/enable memcpy generation, and initial loadstoretomemcpy pass