Fix typo which caused the file ivar to be set instead of function
Merge pull request #92 from mattjgalloway/FixFunctionNameOnCopy

Fix typo which caused the file ivar to be set instead of function