#NEWLINE# def copy_config_file( self , config_file , path = None , overwrite = False ) : #NEWLINE# #INDENT# 'Copy a default config file into the active profile directory.\n\n        Default configuration files are kept in :mod:`IPython.config.default`.\n        This function moves these from that location to the working profile\n        directory.\n        ' #NEWLINE# dst = os . path . join ( self . location , config_file ) #NEWLINE# if ( os . path . isfile ( dst ) and ( not overwrite ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# if ( path is None ) : #NEWLINE# #INDENT# path = os . path . join ( get_ipython_package_dir ( ) , 'config' , 'profile' , 'default' ) #NEWLINE# #UNINDENT# src = os . path . join ( path , config_file ) #NEWLINE# shutil . copy ( self , dst ) #NEWLINE# return True