original_string: protected function copyFileContentsToTarget($sourceFilePath, $targetResource)
      {
          $sourceHandle = fopen($sourceFilePath, 'r');
          stream_copy_to_stream($sourceHandle, $targetResource);
          fclose($sourceHandle);
      }
code: protected function copyFileContentsToTarget($sourceFilePath, $targetResource)
      {
          $sourceHandle = fopen($sourceFilePath, 'r');
          stream_copy_to_stream($sourceHandle, $targetResource);
          fclose($sourceHandle);
      }
code_tokens: protected function copyFileContentsToTarget ( $ sourceFilePath , $ targetResource ) { $ sourceHandle = fopen ( $ sourceFilePath , 'r' ) ; stream_copy_to_stream ( $ sourceHandle , $ targetResource ) ; fclose ( $ sourceHandle ) ; }
docstring: Streams the content of the file at the given path into the target resource.
  Depending on which mode the target resource was created with, it will truncate then copy
  or append the content to the target file.
  
  @param string $sourceFilePath Path of the file whose content will be copied
  @param resource $targetResource Target resource that will receive the content
  @return void
docstring_tokens: Streams the content of the file at the given path into the target resource . Depending on which mode the target resource was created with it will truncate then copy or append the content to the target file .