Move copying info out to own file