Copies memory page and restores back