    # File lib/amalgalite/database.rb, line 936
        def replicate_to( location )
          to_db = nil
          case location
          when String
            to_db = Amalgalite::Database.new( location )
          when Amalgalite::Database
            to_db = location
          else
            raise ArgumentError, "replicate_to( #{location} ) must be a String or a Database"
          end

          @api.replicate_to( to_db.api )
          return to_db
        end