In this paper, low-energy scattering of the (D*(D) over bar*)(+/-) meson system is studied within Luscher's finite-size formalism using N-f = 2 twisted-mass gauge field configurations. With three different pion mass values, the s-wave threshold scattering parameters-namely the scattering length a(0) and the effective range r(0)-are extracted in the J(PC) = 1(+-) channel. Our results indicate that, in this particular channel, the interaction between the two vector charmed mesons is weakly repulsive in nature and hence it does not support the possibility of a shallow bound state for the two mesons, at least for the pion mass values being studied. However, these results might suffer from undetermined systematic errors due to low-lying states ignored in this exploratory study. Still, it provides some useful information on the nature of the newly discovered resonance-like structure Z(c)(4025) observed in various experiments.