The above two lines should be wrapped in a block so that they execute during the run phase rather than the compile phase. It should look something like

```java
block do
 FileUtils.cp(source_file, dest_file)
 FileUtils.chown( new_resource.system_user, new_resource.system_group, dest_file)   
end
```