(self, g)
Copy genome to 'g'

        Example:
           >>> genome_origin.copy(genome_destination)

        :param g: the destination G2DBinaryString instance
Copy genome to 'g'
Copy genome to g
def copy(self, g):
        """ Copy genome to 'g'

        Example:
           >>> genome_origin.copy(genome_destination)

        :param g: the destination G2DBinaryString instance

        """
        GenomeBase.copy(self, g)
        g.height = self.height
        g.width = self.width
        for i in xrange(self.height):
            g.genomeString[i] = self.genomeString[i][:]
def copy ( self , g ) : GenomeBase . copy ( self , g ) g . height = self . height g . width = self . width for i in xrange ( self . height ) : g . genomeString [ i ] = self . genomeString [ i ] [ : ]