code: private function copy($source, $target, array $properties)
      {
          $properties = (array)$properties;
  
          foreach ($properties as $property) {
              $this->accessor->setValue($target, $property, $this->accessor->getValue($source, $property));
          }
      }
docs: Copies the given properties from the source object to the target object.
  
  @param object $source
  @param object $target
  @param array $properties