code: def copy_spline_array(a):
      
  
      b = spline_array()
  
      b.x_splines = a.x_splines
      b.y_splines = a.y_splines
      b.max_y_splines = a.max_y_splines
      b.xmin = a.xmin     
      b.xmax = a.xmax
      b.ymin = a.ymin
      b.ymax = a.ymax
      b.xlabel = a.xlabel
      b.ylabel = a.ylabel
      b.zlabel = a.zlabel
      b.simple = a.simple
      
  
      b.generate_y_values()    
  
      return b
docs: This returns an instance of a new spline_array with all the fixins, and the data from a.