#NEWLINE# def copy( self ) : #NEWLINE# #INDENT# new = SystemPowerState ( self . num_cores ) #NEWLINE# new . timestamp = self . timestamp #NEWLINE# for ( i , c ) in enumerate ( self . cpus ) : #NEWLINE# #INDENT# new . cpus [ i ] . frequency = c . frequency #NEWLINE# new . cpus [ i ] . idle_state = c . idle_state #NEWLINE# #UNINDENT# return new