Why did Itachi poke Sasuke's forehead?
It has nothing to do with transferring memory or knowledge.

It's a gesture of love from Big Brother (Itachi) to his loving Younger Brother (Sasuke). 
That gesture show how much Itachi love Sasuke than anything.