prefixing some 'copy' by details to avoid ambiguities
more factorization for integration methods and quadgk method for real functions