code: public void mimicClass(CtClass src, CtClass dst, MimicMode defaultMimicMode, MimicMethod[] mimicMethods) throws NotFoundException, CannotCompileException, MimicException {
          mimicInterfaces(src, dst);
          mimicFields(src, dst);
          mimicConstructors(src, dst);
          mimicMethods(src, dst, defaultMimicMode, mimicMethods);
      }
docs: Copies all fields, constructors and methods declared in class src into
  dst. All interfaces implemented by src will also be implemented by dst.
  
  @param src
  the src class.
  @param dst
  the dst class.
  @param defaultMimicMode
  the default mimic mode for methods.
  @param mimicMethods
  @throws NotFoundException
  should not be thrown.
  @throws CannotCompileException
  should not be thrown except if class src doesn't compile...
  @throws MimicException
  if mimicing is not possible. For instance if class src and
  dst share a common field.