Use file method to copy jar