Adding usage of copyhelper and resourcehelper