Implemented shallowCopy, depCopy and microTemplate.