fix overlapping memcpy
fix overlapping memcpy

Fixes https://github.com/OpenSC/OpenSC/issues/1631

Jakuje/OpenSC,hongquan/OpenSC-main,OpenSC/OpenSC,rickyepoderi/OpenSC,mouse07410/OpenSC,LudovicRousseau/OpenSC,metsma/OpenSC,hongquan/OpenSC-main,fabled/OpenSC,LudovicRousseau/OpenSC,metsma/OpenSC,dengert/OpenSC,CardContact/OpenSC,metsma/OpenSC,hongquan/OpenSC-main,mouse07410/OpenSC,mouse07410/OpenSC,fabled/OpenSC,frankmorgner/OpenSC,AktivCo/OpenSC,AktivCo/OpenSC,philipWendland/OpenSC,Jakuje/OpenSC,philipWendland/OpenSC,frankmorgner/OpenSC,Jakuje/OpenSC,CardContact/OpenSC,fabled/OpenSC,frankmorgner/OpenSC,dengert/OpenSC,Jakuje/OpenSC,dengert/OpenSC,OpenSC/OpenSC,CardContact/OpenSC,rickyepoderi/OpenSC,fabled/OpenSC,AktivCo/OpenSC,LudovicRousseau/OpenSC,OpenSC/OpenSC,philipWendland/OpenSC,rickyepoderi/OpenSC,frankmorgner/OpenSC