Added ts_code_copy_file utility function. Whitespace fixes crept in too.
Merge pull request #1 from nadavoid/master

Added ts_code_copy helper function