code: func (c *TemplateConfig) Copy() *TemplateConfig {
  	if c == nil {
  		return nil
  	}
  
  	var o TemplateConfig
  
  	o.Backup = c.Backup
  
  	o.Command = c.Command
  
  	o.CommandTimeout = c.CommandTimeout
  
  	o.Contents = c.Contents
  
  	o.CreateDestDirs = c.CreateDestDirs
  
  	o.Destination = c.Destination
  
  	o.ErrMissingKey = c.ErrMissingKey
  
  	if c.Exec != nil {
  		o.Exec = c.Exec.Copy()
  	}
  
  	o.Perms = c.Perms
  
  	o.Source = c.Source
  
  	if c.Wait != nil {
  		o.Wait = c.Wait.Copy()
  	}
  
  	o.LeftDelim = c.LeftDelim
  	o.RightDelim = c.RightDelim
  
  	return &o
  }
docs: // Copy returns a deep copy of this configuration.