states.file: rewrite to avoid using the `copy` module, which conflict w/ new copy() func

************* Module salt.states.file
E0102:1992,0:copy: function already defined line 139
Merge pull request #6451 from cvrebert/patch-1

states.file: avoid the `copy` module; conflicts w/ new copy() func