text: If Memory Deluge is copied, no mana was spent to cast the copy, so X will be 0. The amount of mana spent to cast the original spell is not copied. You won't look at any cards from your library as Memory Deluge resolves.