[Filesystem] copy() is not working when open_basedir is set

More details: https://bugs.php.net/bug.php?id=64634
Merge branch '2.1' into 2.2

* 2.1:
  remove validation related headers when needed
  use while loop for iterating
  [Filesystem] copy() is not working when open_basedir is set

Conflicts:
	src/Symfony/Component/HttpKernel/Profiler/FileProfilerStorage.php
Merge branch '2.2'

* 2.2:
  [Swiftmailer] bumped allowed versions
  remove validation related headers when needed
  use while loop for iterating
  [Filesystem] copy() is not working when open_basedir is set
Merge remote-tracking branch 'symfony/master' into develop

Conflicts:
	src/main/php/ehough/filesystem/Filesystem.php