#NEWLINE# def copy_file( self , from_path , to_path , replace = False ) : #NEWLINE# #INDENT# '\n        Copies a file from a given source path to a destination path, adding\n        appropriate parent directories when needed. If the destination path\n        already exists and `replace` is `False`, the file will not be\n        uploaded.\n        ' #NEWLINE# f = self . get_file ( from_path ) #NEWLINE# self . upload_file ( to_path , f . contents ( ) , replace = replace )