Copy Scratchpad and Read Memory now working but unoptimized