Do not memcpy with same source and destination.

This can happen for sret_args. Drop the assignment in this case.
Merge branch 'memcpy'