implement copy application
added last functionality Application defenition