copy captured file to temp for upload