Implement wmempcpy