I've written a shell script for testing an API that copies files and echoes its progress after each one. 

There is a two second sleep between each copy, so I would like to add the ability to press any key to pause the script to allow deeper testing. Then press any key to resume.

How can I add this in as few lines as possible?