Split copper routines into own file