1) added copy contructor and assignment operator to basecomponent and sprite component