code: def copyto(self, query):
          
          url = self.api_url + '/copyto'
          params = {'api_key': self.api_key, 'q': query}
  
          try:
              response = self.client.send(url,
                                          http_method='GET',
                                          params=params,
                                          stream=True)
              response.raise_for_status()
          except CartoRateLimitException as e:
              raise e
          except HTTPError as e:
              if 400 <= response.status_code < 500:
                  # Client error, provide better reason
                  reason = response.json()['error'][0]
                  error_msg = u'%s Client Error: %s' % (response.status_code,
                                                        reason)
                  raise CartoException(error_msg)
              else:
                  raise CartoException(e)
          except Exception as e:
              raise CartoException(e)
  
          return response
docs: Gets data from a table into a Response object that can be iterated
  
          :param query: The "COPY { table_name [(column_name[, ...])] | (query) }
                             TO STDOUT [WITH(option[,...])]" query to execute
          :type query: str
  
          :return: response object
          :rtype: Response
  
          :raise CartoException: