Fix repeated field copy loop

Fix lint algorithm include

Fix spaces
Merge pull request #760 from bhack/fix_loopcopy

Fix repeated field copy loop