Translation:That child was staying there to copy.
What is the idea? Like the child was waiting in front of a xerox photocopier?
The verb "a copia" is used for cheating (on a test). That was my interpretation after reading the sentence/
Maybe he hadn't finished copying what was on the board, so he stayed while the rest started their next activity.