Pastebin is a website where you can store text online for a set period of time.
Use memmove to handle overlapping regions. If the source and destination overlap, the behavior of memcpy is undefined. The function MEMCPY can be used to copy the values of PLC variables from one memory area to another. You should not use this function to access IO space, use memcpy_toio or memcpy_fromio instead. memcpy - Copy one area of memory to another.