Added functionality to copy screenshot.