When Ray attempted a task similar to this he made numerous mistakes, he struggled to hold the information in mind and manipulate it.
To perform well on tasks such as this requires good working memory. That is the ability to hold information in mind while we perform some operation on it. It is involved in everyday tasks such as mental arithmetic and holding a phone number in mind while you dial it.
Ray: Dual counting task
Ray’s complex copy task