I did, but I found that the problem comes when the program gets to memcpy.