Function to grab a scan and copy it somewhere